reg query HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Lenovo\PWRMGRV\ConfKeys\Data\X1XP63H01SW /v ChargeStartControl|findstr 0x1 || goto change

reg query HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Lenovo\PWRMGRV\ConfKeys\Data\X1XP63H01SW /v ChargeStopControl|findstr 0x1 || goto change

goto end

:change
reg import %~dp0\battery.reg

:end